package domain;

public class Customer {
    private int id;
    private String name;
    private  String account;
    private double money;
    private  int integral;
    private String password;

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", account='" + account + '\'' +
                ", money=" + money +
                ", integral=" + integral +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }



    public Customer() {
    }

    public Customer(int id, String name, String account, double money, int integral, String password) {
        this.id = id;
        this.name = name;
        this.account = account;
        this.money = money;
        this.integral = integral;
        this.password = password;
    }
}
